package com.example.parkingproject.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.parkingproject.entity.ParkingData;
import com.example.parkingproject.vo.ParkingNumber;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

@Mapper
public interface ParkingMapper extends BaseMapper<ParkingData> {

    Integer getTodayNum();

    Integer getWeekNum();

    Integer getMonthNum();


    Integer getOneDayNum(LocalDate date);

    List<ParkingNumber> getParkingNumberList();
}
